MADRID (AP) — In a matter of minutes, flash floods caused by heavy downpours in eastern Spain on Tuesday swept away everything in their path. With no time to react, people were trapped in vehicles, homes and businesses. Many died and thousands saw livelihoods shattered.

Two days later, authorities have recovered 158 bodies — 155 in the eastern Valencia region alone, two in Castilla La Mancha and one in Andalusia — and continue to search for an unknown number of missing people.

People have begun to clean up the thick layers of mud that covered houses and streets full of debris, all while facing power and water cuts and shortages of some basic goods. Inside some of the vehicles that the water washed into piles or crashed into buildings, there were still bodies waiting to be identified.

Here are a few things to know about Spain’s deadliest storm in living memory:

What happened?

The storms concentrated over the Magro and Turia river basins and, in the Poyo riverbed, produced walls of water that overflowed riverbanks, catching people unaware as they went on with their daily lives, with many coming home from work on Tuesday evening.

In the blink of an eye, the muddy water covered roads, railways and entered houses and businesses in villages on the southern outskirts of Valencia city. Drivers, with their vehicles converted into boats, had to take shelter on car roofs, while residents tried to take refuge on higher ground.

The downpour was stunning. Spain's national weather service said that in the hard-hit locality of Chiva it rained more in eight hours than it had in the preceding 20 months, calling the deluge "extraordinary."

When the authorities sent the alert to mobile phones warning of the seriousness of the phenomenon and asked them to stay at home, many were on the road, working or covered in water in low-lying areas or garages, which became death traps.

Why did these massive flash floods happen?

Scientists trying to explain what happened see two likely connections to human-caused climate change. One is that warmer air holds and then dumps more rain. The other is possible changes in the jet stream — the river of air above land that moves weather systems across the globe — that spawn extreme weather.

Climate scientists and meteorologists said the immediate cause of the flooding is called a cut-off lower pressure storm system that migrated from an unusually wavy and stalled jet stream. That system simply parked over the region and poured rain. This happens often enough that in Spain they call them DANAs, the Spanish acronym for the system, meteorologists said.

And then there is the unusually high temperature of the Mediterranean Sea. It had its warmest surface temperature on record in mid-August, at 28.47 degrees Celsius (83.25 degrees Fahrenheit), said Carola Koenig of the Centre for Flood Risk and Resilience at Brunel University of London.

The extreme weather event came after Spain battled with prolonged droughts in 2022 and 2023. Experts say that drought and flood cycles are increasing with climate change.

Has this happened before?

Spain’s Mediterranean coast is used to autumn storms that can cause flooding, but this episode was the most powerful flash flood event in recent memory.

Older people in Paiporta, ground zero of the tragedy, claim that Tuesday’s floods were three times as bad as those of 1957, which caused at least 81 deaths and were the worst in the history of the tourist eastern region. That episode led to the diversion of the Turia watercourse, which meant that a large part of the city was spared of these floods.

Valencia suffered two other major DANAs in the 1980s, one in 1982, with around 30 deaths, and another one five years later, which broke rainfall records.

This week's flash floods are also Spain's deadliest natural tragedy in living memory, surpassing the flood that swept away a campsite along the Gallego river in Biescas, in the northwest, killing 87 people in August 1996.

___

Seth Borenstein in Washington, D.C., contributed.

Vehicles are seen piled up after being swept away by floods in Valencia, Spain, Thursday, Oct. 31, 2024. (AP Photo/Alberto Saiz)

Credit: AP

icon to expand image

Credit: AP

Residents clean their house affected by floods in Valencia, Spain, Thursday, Oct. 31, 2024. (AP Photo/Alberto Saiz)

Credit: AP

icon to expand image

Credit: AP

Residents carry their belongings as they leave their houses affected by floods in Valencia, Spain, Thursday, Oct. 31, 2024. (AP Photo/Alberto Saiz)

Credit: AP

icon to expand image

Credit: AP